 |
API Documentation
|
|
18 class DLL_WINUI_EXPORT
Tab
56 virtual void setLabel (
const std::string_view& label,
bool autoUpdate =
true) ;
96 virtual Tab*
addTab (
const std::string_view& label) ;
113 virtual void changeTabLabel (
const std::string_view& oldLabel,
const std::string_view& newLabel) ;
119 virtual void eraseTab (
const std::string_view& label) ;
Tab * getTabByLabel(const std::string_view &label) const
virtual Layout * setLayout(LAYOUT_TYPE layoutType) override
LAYOUT_TYPE
Defines the type of layout available.
Definition: LayoutType.h:12
virtual Tab * addTab(const std::string_view &label)
void setAssociatedWin(Window *win)
Represents a layout to organize sub-windows in a window.
Definition: Layout.h:12
Tab * getActiveTab() const
virtual void setLabel(const std::string_view &label, bool autoUpdate=true)
Window * getAssociatedWin() const
Base class for any graphical component.
Definition: Component.h:12
virtual void adaptToDisplayArea(Window *toAdapt) const =0
void setParentWindow(TabWindow *parent)
virtual void eraseTab(const std::string_view &label)
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
tabWindowCallback getTabSpecializedCallback() const
void importClassFromTree(nkExport::Node *rootNode) override
Holds information about a tab in the window.
Definition: TabWindow.h:19
A graphical window.
Definition: Window.h:12
void setTabSpecializedCallback(tabWindowCallback value)
virtual void exportIntrospection(nkExport::Node *rootNode) override
virtual void setActiveTab(Tab *toActivate)
virtual void changeTabLabel(const std::string_view &oldLabel, const std::string_view &newLabel)
std::function< bool(TabWindow *caller, bool changing)> tabWindowCallback
Used by a nkWinUi::TabWindow when a tab switch is occurring.
Definition: CallbackRepository.h:128
Tab * getTabById(int id) const
const char * getLabel() const
Encompasses all API of component NilkinsWinUi.
Definition: Button.h:7
TabWindow * getParentWindow() const
A graphical tab window.
Definition: TabWindow.h:12